<?php $this->load->view('admins/header'); ?>
<?php $this->load->view('admins/menu'); ?>
<div class="container conter">
    <?php $this->load->view('admins/user/menu'); ?>
    <div class="body">
        <div class="main">
            <table>
                <tr>
                    <th>ID</th>
                    <th>screenName</th>
                    <th>mail</th>
                    <th>group</th>
                    <th>activated</th>
                    <th>url</th>
                    <th>操作</th>
                </tr>
                <?php foreach($users as $u): ?>
                <tr>
                    <td><?php echo $u['uid']; ?></td>
                    <td><?php echo $u['screenName']; ?></td>
                    <td><?php echo $u['mail']; ?></td>
                    <td><?php echo $u['group']; ?></td>
                    <td><?php echo $u['activated']; ?></td>
                    <td><?php echo $u['url']; ?></td>
                    <td>
                        <?php echo anchor('admins/user_admin/delete/'.$u['uid'], '删除'); ?>
                        &nbsp;&nbsp;|&nbsp;&nbsp;<?php echo anchor('admins/user_admin/edit/'.$u['uid'], '编辑'); ?>
                    </td>
                </tr>
                <?php endforeach; ?>
            </table>
        </div>
    </div>
</div>
<?php $this->load->view('admins/footer'); ?>